module.exports = {
  publicPath: process.env.NODE_ENV === 'production' ? '/lucky-draw' : '/'
};
module.exports = {
  configureWebpack: {},
  devServer: {
    // 环境配置
    host: '0.0.0.0',
    // public: '172.20.3.3:8080',
    port: '9999',
    // https: false,
    disableHostCheck: true,
    open: false, // 配置自动启动浏览器
    proxy: {
      '/': {
        target: 'http://127.0.0.1:9999',
        changeOrigin: true,
        ws: false
      }
    }
  },
  //关闭语法检查
  lintOnSave: false
};
